package com.zam.service.impl;

import com.zam.pojo.CourseUser;
import com.zam.mapper.CourseUserMapper;
import com.zam.service.ICourseUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zam
 * @since 2024-01-30
 */
@Service
public class CourseUserServiceImpl extends ServiceImpl<CourseUserMapper, CourseUser> implements ICourseUserService {

    @Autowired
    private CourseUserMapper courseUserMapper;
    @Override
    public void removeByCU(CourseUser courseUser) {
        courseUserMapper.delectByCU(courseUser);
    }
}
